package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface  OrderSettingDao {
    int findCountByOrderDate(Date orderDate);

    void updateByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    //List<OrderSetting> getOrderSettingByMonth(Map<String, String> map);

    List<Map> getOrderSettingByMonth(Map<String, String> map);

    OrderSetting findOrderSettingByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);


    void deleteOrderSettingsBeforeToday(String today);
}
